﻿using System.Data;
using RpcExtend.Model.DB;
using RpcHelper;
using SqlSugarHelper;

namespace RpcExtend.DAL.Repository
{
    internal class SystemLogDAL : ISystemLogDAL
    {
        private IRepository<SystemErrorLog> _BasicDAL;
        public SystemLogDAL(IRepository<SystemErrorLog> dal)
        {
            _BasicDAL = dal;
        }

        public void Adds(SystemErrorLog[] logs)
        {
            _BasicDAL.Insert(logs);
        }
    }
}
